import request from '@/utils/request'
// 账本管理概况
export function shopListSummary(data) {
  return request({
    url: '/account_book/shop-list-summary',
    method: 'post',
    data
  })
}
// 账本管理列表
export function shopList(data) {
  return request({
    url: '/account_book/shop-list',
    method: 'post',
    data
  })
}

export function shopListDetailsSummary(data) {
  return request({
    url: '/account_book/shop-list-details-summary',
    method: 'post',
    data
  })
}

export function shopListDetails(data) {
  return request({
    url: '/account_book/shop-list-details',
    method: 'post',
    data
  })
}

export function shopListBookDetails(data) {
  return request({
    url: '/account_book/shop-list-book-details',
    method: 'post',
    data
  })
}


//门店支出 概览
export function shopListOrderSummary(data) {
  return request({
    url: '/account_book/shop-list-admin-order-summary',
    method: 'post',
    data
  })
}

//额外收入 概览
export function shopListExpendSummary(data) {
  return request({
    url: '/account_book/shop-list-input-summary',
    method: 'post',
    data
  })
}


//额外收入 列表
export function shopListExpend(data) {
  return request({
    url: '/account_book/shop-list-input',
    method: 'post',
    data
  })
}

// 门店支出
export function getShopExpendList(data) {
  return request({
    url: '/account_book/shop-list-admin-order',
    method: 'post',
    data
  })
}


export function getShopExpendListDetails(data) {
  return request({
    url: '/account_book/shop-list-order-details',
    method: 'post',
    data
  })
}

export function addShopExtra(data) {
  return request({
    url: '/account_book/add',
    method: 'post',
    data
  })
}

export function importShopMerchandise(data) {
  return request({
    url: '/account_book/import-shop-merchandise',
    method: 'post',
    data
  })
}

export function importShopMerchandiseSummary(data) {
  return request({
    url: '/account_book/import-shop-merchandise-summary',
    method: 'post',
    data
  })
}


export function importShopMerchandiseListAll() {
  return request({
    url: '/account_book/import-shop-merchandise-list-all',
    method: 'get'
  })
}


export function bookAccountLCreate(data) {
  return request({
    url: '/account_book/add',
    method: 'post',
    data
  })
}


